/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.sys.entity.job;

import com.thinkgem.jeesite.modules.hk.sys.entity.user.HkUser;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 简历屏蔽公司Entity
 * @author 罗天文
 * @version 2018-07-20
 */
public class HkUserResumeShieldCompany extends DataEntity<HkUserResumeShieldCompany> {
	
	private static final long serialVersionUID = 1L;
	private HkUser user;		// 用户id
	private String corporatename;		// 公司名称
	
	public HkUserResumeShieldCompany() {
		super();
	}

	public HkUserResumeShieldCompany(String id){
		super(id);
	}

	@NotNull(message="用户id不能为空")
	public HkUser getUser() {
		return user;
	}

	public void setUser(HkUser user) {
		this.user = user;
	}
	
	@Length(min=0, max=500, message="公司名称长度必须介于 0 和 500 之间")
	public String getCorporatename() {
		return corporatename;
	}

	public void setCorporatename(String corporatename) {
		this.corporatename = corporatename;
	}
	
}